Dial Plan Backward Compatibility

This section is for backward compatibility only. It is recommended to migrate your Dial Plan configuration to the latest Dial Plan feature (see Using Dial Plan Tags for IP-to-IP Routing).

Configure prefix tags in the Dial Plan file using the following syntax:

[ PLAN<index> ]
<prefix number>,0,<prefix tag>

where:

Index is the Dial Plan index
prefix number is the called or calling number prefix (ranges can be defined in brackets)
prefix tag is the user-defined prefix tag of up to nine characters, representing the prefix number

Each prefix tag type - called or calling - must be configured in a dedicated Dial Plan index number. For example, Dial Plan 1 can be for called prefix tags and Dial Plan 2 for calling prefix tags.

The example Dial Plan file below defines the prefix tags "LOCL"and "INTL" to represent different called number prefixes for local and long distance calls:

[ PLAN1 ]
42520[3-5],0,LOCL
425207,0,LOCL
42529,0,LOCL
425200,0,INTL
425100,0,INTL
....
Called and calling prefix tags can be used in the same routing rule.
When using prefix tags, you need to configure manipulation rules to remove the tags before the device sends the calls to their destinations.

The following procedure describes how to configure IP-to-IP routing using prefix tags.

To configure IP-to-IP routing using prefix tags:
1. Configure a Dial Plan file with prefix tags, and then upload the file to the device.
2. Add the prefix tags to the numbers of specific incoming calls using Inbound Manipulation rules:
a. Open the Inbound Manipulations table (see Configuring IP-to-IP Inbound Manipulations), and then click New.
b. Configure matching characteristics for the incoming call (e.g., set 'Source IP Group' to "1").
c. From the 'Manipulated Item' drop-down list, select Source to add the tag to the calling URI user part, or Destination to add the tag to the called URI user part.
d. Configure the Dial Plan index for which you configured your prefix tag, in the 'Prefix to Add' or 'Suffix to Add' fields, using the following syntax: $DialPlan<x>, where x is the Dial Plan index (0 to 7). For example, if the called number is 4252000555, the device manipulates it to LOCL4252000555.
3. Add an SBC IP-to-IP routing rule using the prefix tag to represent the different source or destination URI user parts:
a. Open the IP-to-IP Routing table (see Configuring SBC IP-to-IP Routing Rules), and then click New.
b. Configure the prefix tag in the 'Source Username Pattern' or 'Destination Username Pattern' fields (e.g., "LOCL", without the quotation marks).
c. Continue configuring the rule as required.
4. Configure a manipulation rule to remove the prefix tags before the device sends the message to the destination:
a. Open the Outbound Manipulations table (see Configuring IP-to-IP Outbound Manipulations), and then click New.
b. Configure matching characteristics for the incoming call (e.g., set 'Source IP Group' to "1"), including calls with the prefix tag (in the 'Source Username Pattern' or 'Destination Username Pattern' fields, enter the prefix tag to remove).
c. Configure the 'Remove from Left' or 'Remove from Right' fields (depending on whether you added the tag at the beginning or end of the URI user part, respectively), enter the number of characters making up the tag.